package org.bjou

class Job {
   
    //课程名称*
    String courseName
     //专业层次 *	开专/开本
    String majorLevel
    
   
     //系部信息
    static belongsTo = [department: Department]
    
    
    //课程类型 统设/非统设
    String courseType

    //课程性质 必修/必修（省）/选修
    String courseProperty
    
   //考试单位类型	* 中央/省
    String examType
    
     //当前学期
   String currentTerm
   
    //轮次
    String round
    
    String jobName
    String jobDscp
    
    
    Date dateCreated
    Date lastUpdated
    
    
    
    

    static constraints = {
          jobDscp(nullable: true, blank: true)
          jobName(nullable: true, blank: true)
           courseName(nullable: true, blank: true)
          majorLevel(nullable: true, blank: true)
          courseType(nullable: true, blank: true)
          courseProperty(nullable: true, blank: true)
          examType(nullable: true, blank: true)
          currentTerm(nullable: true, blank: true)
          department(nullable: true, blank: true)
          
          
    }
}
